<include file="Public:header" />
<div class="span">
<div class="span4">
<table class="table table-striped">
	<tr>
		<td></td>
		<td>{$task.mall.name} {$task.floor.name} {$task.brand.name}</td>
	</tr>
	<tr>
		<td>{:L('_PHONE')}</td>
		<td><foreach item="phone" name="phones"> {$phone.name}
			: {$phone.phone}<br />
			</foreach></td>
	</tr>
	<tr>
		<td>{:L('_ID')}</td>
		<td>{$task.id}</td>
	</tr>
	<tr>
		<td>{:L('_TITLE')}</td>
		<td>{$task.title}</td>
	</tr>
	<tr>
		<td>{:L('_CREATE_TIME')}</td>
		<td>{$task.create_time|date="Y-m-d h:i:s",###}</td>
	</tr>
	<tr>
		<td>{:L('_START_TIME')}</td>
		<td>{$task.start_time|date="Y-m-d h:i:s",###}</td>
	</tr>
	<tr>
		<td>{:L('_END_TIME')}</td>
		<td>{$task.end_time|date="Y-m-d h:i:s",###}</td>
	</tr>
	<tr>
		<td>{:L('_CONTENT')}</td>
		<td>{$task.content}</td>
	</tr>
	<tr>
		<td>{:L('_REMARK')}</td>
		<td>{$task.remark}</td>
	</tr>
</table>
</div>
<div class="span4">
<table class="table table-striped">
	<tr>
		<td>{:L('_STATUS')}</td>
		<td>{$task.status_info}</td>
	</tr>
	<notempty name="allot">
	<tr>
		<td>{:L('_TASK_CREATE_TIME')}</td>
		<td>{$allot.create_time|date="Y-m-d H:i:s",###}</td>
	</tr>
	<present name="allot.image_url">
	<tr>
		<td>{:L('_IMAGE')}</td>
		<td><img src="{$allot.image_url}"></td>
	</tr>
	</present>
	<notempty name="allot['start_time']">
	<tr>
		<td>{:L('_TASK_START_TIME')}</td>
		<td>{$allot.start_time|date="Y-m-d H:i:s",###}</td>
	</tr>
	</notempty>
	<notempty name="allot['end_time']">
	<tr>
		<td>{:L('_TASK_END_TIME')}</td>
		<td>{$allot.end_time|date="Y-m-d H:i:s",###}</td>
	</tr>
	</notempty>
	</notempty>
</table>
</div>
<notempty name="queue">
<div class="span2">
<table class="table table-striped">
	<tr>
		<td>{:L('_CREATOR')}</td>
		<td>{$queue.creator_num}</td>
	</tr>
	<tr>
		<td>{:L('_EXECUTOR')}</td>
		<td>{$queue.executor_num}</td>
	</tr>
	<tr>
		<td>{:L('_AUDITOR')}</td>
		<td>{$queue.auditor_num}</td>
	</tr>
</table>
</div>
</notempty>
</div>
<div class="row">
<notempty name="returns">
<div class="span4">
	{:L('_TASK_RETURN')}
	<table class="table table-striped">
		<tr>
			<td>{:L('_LAUNCH_PERSON')}</td>
			<td>{:L('_REMARK')}</td>
			<td>{:L('_CREATE_TIME')}</td>
			<td>{:L('_REPLY')}</td>
			<td>{:L('_REPLY_TIME')}</td>
		</tr>
		<foreach name="returns" item="return">
		<tr>
			<td>{$return.num}</td>
			<td>{$return.remark}</td>
			<td>{$return.create_time|date="Y-m-d h:i",###}</td>
			<td>{$return.reply}</td>
			<td><notempty name="return.reply_time">{$return.reply_time|date="Y-m-d h:i",###}</notempty></td>
		</tr>
		</foreach>
	</table>
</div>
</notempty>
<notempty name="auditReturns">
<div class="span4">
{:L('_AUDIT_SUBMIT_RETURN_LIST')}
<table class="table table-striped">
	<tr>
		<td>{:L('_REMARK')}</td>
		<td>{:L('_CREATE_TIME')}</td>
		<td>{:L('_REPLY')}</td>
		<td>{:L('_REPLY_TIME')}</td>
	</tr>
	<foreach name="auditReturns" item="return">
	<tr>
		<td colspan="4"><img src="{$return.image_url}" /></td>
	</tr>
	<tr>
		<td>{$return.remark}</td>
		<td>{$return.create_time|date="Y-m-d H:i:s",###}</td>
		<td>{$return.reply}</td>
		<td>{$return.reply_time|date="Y-m-d H:i:s",###}</td>
	</tr>
	</foreach>
</table>
</div>
</notempty>
</div>
<include file="Public:footer" />